From 4d69e1f8964ea4a5ef707c25234edb2d29b84840 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 3 Apr 2024 17:58:20 -0700
Subject: fix(badges): clone awc body

---
 src/routes/user/[user]/badges/+page.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/routes/user/[user]/badges/+page.svelte')

diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index 78b4cf3e..20beadf0 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -455,7 +455,7 @@
 				{:then ungroupedBadges}
 					<div id="badges">
 						{#await awcPromise then badges}
-							{#await badges.text() then text}
+							{#await badges.clone().text() then text}
 								{@const parsedBadges = awcBadgesGrouped(text)}
 
 								{#if parsedBadges.length > 0}
-- 
cgit v1.2.3

